/*
Authors: Eli Yucht 300388949 and Lior Fass 300069705
Project: Hamming
Description: Entrance Point for the Receiver program - init the Receiver object and run it.
*/

#define _CRT_SECURE_NO_WARNINGS


#include "receiver.h"


int main(int argc, char* argv[])
{
	int status;
	Receiver Receiver;
	
	status = Receiver.Init(argc,argv);
	if (status)
	{
		cout << "init failed" << endl;
		return 1;
	}

	status = Receiver.Run();
	if (status)
	{
		cout << "Receiver run failed" << endl;
		return 1;
	}
	return 0;
}

